#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	char arr[81] = { 0 };
	char a; int i = 0, index = 0;
	scanf("%c", &a);
	getchar();
	gets(arr);

	for (i = 0; arr[i] != '\0'; i++)
	{
		if (arr[i] == a)
			index = i;
	}

	if (arr[index] != a)
		printf("Not Found");
	else
		printf("index = %d", index);


	return 0;
}